package com.printersystem.ssm.services.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.printersystem.ssm.dao.IUserDao;
import com.printersystem.ssm.entities.User;
import com.printersystem.ssm.services.IUserService;

@Service("userService")
public class UserServiceImpl implements IUserService {
	@Resource(name="userDao")
	private IUserDao userDao;
	
	public int addUser(User user) {
		return userDao.addUser(user);
	}
	
}
